package com.zhihesj.anan.security;

import com.zhihesj.anan.system.entity.Role;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.access.SecurityConfig;
import org.springframework.security.web.FilterInvocation;
import org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource;

import javax.sound.midi.Soundbank;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author anan.
 * @version 1.0
 * @create 2020-05-31 17-15
 */
public class JwtFilterInvocationSecurityMetadataSource implements FilterInvocationSecurityMetadataSource {

    @Override
    public Collection<ConfigAttribute> getAttributes(Object object) throws IllegalArgumentException {
        System.out.println("到这里了");

        return null;
    }

    @Override
    public Collection<ConfigAttribute> getAllConfigAttributes() {
        System.out.println("到这里了");
        return null;
    }

    @Override
    public boolean supports(Class<?> clazz) {
        System.out.println("到这里了");
        return false;
    }
}
